package com.camel.system.controller;


import com.camel.core.controller.BaseCommonController;
import com.camel.core.model.SysParam;
import com.camel.core.service.BaseCommonService;
import com.camel.system.service.SysParamService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * <用户角色控制器>
 *
 * @author baily
 * @date 2019/7/5
 * @since 1.0
 **/
@RestController
@RequestMapping("/sysParam")
public class SysParamController extends BaseCommonController<SysParam> {

    @Autowired
    private SysParamService<SysParam> service;

    @Override
    public BaseCommonService<SysParam> getiService() {
        return service;
    }

    @Override
    public String getMouduleName() {
        return "系统参数";
    }
}

